package 图表库;
import org.jfree.data.xy.XYSeries;
import java.awt.*;

// 曲线类
public class JpoltCurve {
    public String name;
    public XYSeries curver;
    public Color color;
    public boolean VisiblePoint = true;
    public boolean VisibleLine = true;
    public boolean Visiblename = true;
    public int Shape = 0;
    public static final int circle = 0;
    public static final int rect = 1;

    public JpoltCurve(String name,Color color){
        this.name = name;
        this.curver = new XYSeries(name);
        this.color = color;
    }

    public void addPoint(double x,double y){
        this.curver.add(x,y);
    }
    public void clearPoints() {
        this.curver.clear();
    }


}
